From: Florian Müllner Date: Mon, 1 Feb 2021 11:16:44 +0000 (+0100) Subject: extensions-tool: Remove menu arrow from extension template X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~523 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ec0d8e3a722509620bd4e04df4af2f8eb26dd8b8;p=gnome-shell.git extensions-tool: Remove menu arrow from extension template We stopped putting arrows into the top bar, so we shouldn't encourage new extensions to still do that. Part-of: --- diff --git a/subprojects/extensions-tool/src/templates/indicator/extension.js b/subprojects/extensions-tool/src/templates/indicator/extension.js index fd84782a8..5d9753efc 100644 --- a/subprojects/extensions-tool/src/templates/indicator/extension.js +++ b/subprojects/extensions-tool/src/templates/indicator/extension.js @@ -35,13 +35,10 @@ class Indicator extends PanelMenu.Button { _init() { super._init(0.0, _('My Shiny Indicator')); - let box = new St.BoxLayout({ style_class: 'panel-status-menu-box' }); - box.add_child(new St.Icon({ + this.add_child(new St.Icon({ icon_name: 'face-smile-symbolic', style_class: 'system-status-icon', })); - box.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM)); - this.add_child(box); let item = new PopupMenu.PopupMenuItem(_('Show Notification')); item.connect('activate', () => {